﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace twilters
{
    public enum TweetField
    {
        Text, ScreenName, ProfileImage, CreateDate
    }

    public class TextFieldName
    {
        private static Dictionary<TweetField, String> names = new Dictionary<TweetField, String>();

        static TextFieldName()
        {
            names.Add(TweetField.ScreenName, "Screen name");
            names.Add(TweetField.Text, "Text");
            names.Add(TweetField.ProfileImage, "Profile image");
            names.Add(TweetField.CreateDate, "Create date");
        }

        public static Dictionary<TweetField, String>  AllNames()
        {
            return names;
        }

        public static String Name(TweetField field)
        {
            return names[field];
        }
    }
}